To Pool or Not To Pool? Revisiting an Old Pattern

نویسندگان

  • Ioannis T. Christou
  • Sofoklis Efremidis
چکیده

We revisit the well-known object-pool design pattern in Java. In the last decade, the pattern has attracted a lot of criticism regarding its validity when used for light-weight objects that are only meant to hold memory rather than any other resources (database connections, sockets etc.) and in fact, common opinion holds that is an “anti-pattern” in such cases. Nevertheless, we show through several experiments in different systems that the use of this pattern for extremely short-lived and light-weight memory objects can in fact significantly reduce the response time of high-performance multi-threaded applications, especially in memory-constrained environments. In certain multi-threaded applications where high performance is a requirement and/or memory constraints exist, we recommend therefore that the object pool pattern be given consideration and tested for possible run-time as well as memory footprint improvements.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimal Decision Making Framework of an Electric Vehicle Aggregator in Future and Pool markets

Electric vehicle (EV) aggregator, as an agent between the electricity market and EV owners, participates in the future and pool market to supply EVs’ requirement. Because of the uncertain nature of pool prices and EVs’ behaviour, this paper proposed a two-stage scenario-based model to obtain optimal decision making of an EV aggregator. To deal with mentioned uncertainties, the aggregator’s risk...

متن کامل

کانی‌شناسی و زمین‌شیمی کانی‌های آبدار سولفاتی وابسته به شیل‌های سیاه منطقه قروقچی، میمه، استان اصفهان

Qroqchy area is located northwest of Isfahan, in the central Iranian structural zone. The Nayband black shale is a significant geological unit which is widespread occurrences in the study are. Weathering process lead to black sale alteration and formation of acidic pool. The pool is located on the black shale basement. Around of the pool sulfate minerals occur with various colors. The aim of th...

متن کامل

A New Investigation on Tunnel Pool Fire Phenomenon Using CFD Technique

In this study, the amount of generated pool fire, as a result of the release of chemicals in the case of an accident in tunnels, was simulated and the results were compared to the experimental data. At first, various amounts of spatial resolution (R*) were considered to compare the existing experimental data at different heights at the upstream, downstream and above the pool fire...

متن کامل

Determination of Time of Oil Cracking into Gas in Weiyuan Paleo-Oil Pool in Sichuan Basin, South China

Weiyuan gas field, located in the Sichuan basin of south China, is a large marine gas field with the oldest reservoir (the Sinian sequences) in south China. The hydrocarbon origin of the gas field has long been debated by petroleum geologists. Recently, it was recognized that a paleo-oil pool maybe the significant contributor to the gas field. Consequently, when the paleo-oil pool had been crac...

متن کامل

Induction of apoptosis by novel inosine monophosphate dehydrogenase, 3-hydrogenkwadaphnin

Today’s medical word is highly dependent on severel natural products (e.g. taxol) in fighting different kinds of cancer and in constantly working to found new compounds. In this respect, 3-hydrogenkwadaphnin is a new diterpene ester isolated from Dendrostellera lessertii (Thymelaceae). It has been previously shown that this new compound has high anti-tumor activity and the capability of arresti...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1801.03763  شماره 

صفحات  -

تاریخ انتشار 2018